Skip to content

feat(sat): print web GUI URL at top of sat scan output#42

Merged
buckleypaul merged 1 commit into
mainfrom
feat/sat-scan-web-gui-url
Jun 16, 2026
Merged

feat(sat): print web GUI URL at top of sat scan output#42
buckleypaul merged 1 commit into
mainfrom
feat/sat-scan-web-gui-url

Conversation

@buckleypaul

Copy link
Copy Markdown
Collaborator

Summary

Prints the SDR container's web GUI URL at the top of sat scan / sat mock-scan output, so users know where to go to view the UI.

Changes

  • sat.py: add web_ui_url() helper returning the SDR container's web GUI root (http://localhost:8050/, using the configurable API_PORT), alongside the existing _packets_url().
  • cli.py: in the shared _run_sat_scan, echo [INFO] Web GUI: <url> just above the "Starting receiver…" line.

Example output:

[INFO] Web GUI: http://localhost:8050/
[INFO] Starting satellite receiver... (Press Ctrl+C to stop)

Notes

  • Suppressed for -o json output (alongside the other [INFO] lines), keeping JSON clean.
  • Printed after the Docker availability check, so it only appears once the receiver is about to start.
  • No new CLI command added.

Testing

  • ruff check passes.
  • Verified sat.web_ui_url() resolves to http://localhost:8050/.
  • Live sat scan not exercised (requires Docker + PlutoSDR hardware).

Add sat.web_ui_url() returning the SDR container's web GUI root and
echo it at the start of sat scan / mock-scan output (suppressed for
JSON output).
@buckleypaul buckleypaul merged commit 618ee6b into main Jun 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant